*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
    color: #000;
}

/* 头部 */

#head{
    width: 100%;
    height: 200px;
    background: #f0f5f9;
}
#head img{
    margin-top: 10px;
    height: 100px;
    margin-left: 100px;
}

#head .nodrop{
    background: skyblue;
    width: 100px;
    margin-left: 98px;
    margin-top: 2px;
    display: block;
    text-align: center;
    border-radius: 10px;
    padding: 5px;
}
#head .right{
    margin-top: -80px;
}
#head .right input:nth-child(1){
    margin-left: 400px;
    width: 500px;
    height: 50px;
    border-radius: 20px;
    border: none;
}
#head .right input:nth-child(2){
    margin-left: -104px;
    width: 100px;
    height: 50px;
    border-radius: 20px;
    background: #8cb1c7;
    border: none;
}
#head .right .all{
    margin-left: 940px;
    height: 100px;
    width: 300px;
    margin-top: -70px;
    display: flex;
  
}
#head .right .all div{
    display: flex;
    flex-direction: column;
    width: 80px;
    justify-content: space-around;
}
#head .right .all span:nth-child(2n-1){
    font-size: 40px;
}
#head .right .all span:nth-child(2n){
    margin-left: -20px;
    top:60px;
}
#head .headimg{
    display: inline-block;
    margin-left: 1150px;
    margin-top: -110px;
}
#head .headimg span{
    display: block;
    margin-left: 90px;
}

#head .headimg img{
    border: 2px solid steelblue;
    border-radius: 50px;
    width: 80px;
    height: 80px;

}


/* 导航 */
li{
    list-style-type: none;
}
#nav {
    width: 100%;
    height: 45px;
    background-color: #445f83;
}
#nav ul{
    margin-left: 280px;
}
#nav li{
    float: left;
    width: 150px;
    line-height:39px;
    text-align: center;
    position:relative;
    border:none;
}

#nav li a {
    font-size:16px; color: #F4F4F4;
    display:block;
    outline:0;
    text-decoration:none; 
}
#nav li:hover a {
    color: #7ab8ff; /*导航栏文字颜色 */
}
#nav li:hover .dropdown_1column {
    left:0px;
    top:38px;
}
.dropdown_1column{ /* 下拉菜单边框颜色*/
    margin: 0px auto;
    float: left;
    position: absolute;
    left: -999em;
    text-align: left;
    border: 1px solid #98adbf;
    border-top: none;
    background: #e0eaf1;
    width: 92px;
    z-index: 99;
}
#nav li:hover div a { /* 下拉菜单文字颜色*/
font-size:12px
;color:rgb(82, 47, 28);
}

#nav li:hover div a:hover{color:#0a1827;} /*下拉带单鼠标停留颜色*/

#nav li ul {
list-style:none;
padding:10px 5px;
margin:0;
}
#nav li ul li {
font-size:12px;
line-height:26px;
position:relative;
padding:0;margin:0;
float:none;
text-align:left;
width:130px;
}
#nav li ul li:hover {
background:none;
border:none;padding:0;
margin:0;
}

/* 菜单 */
#menu{
    display: flex;
    justify-content:space-around;
}

#menu ul{
  
     background: rgb(163, 221, 236);
     margin-left: 100px;
}
#menu ul li{
    width: 200px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}

#menu .right{
    width: 374px;

    overflow: hidden;
    background-color: #fff4e4;
    cursor: pointer;
    position: relative;
}
#menu .right p:nth-child(1) {
    margin-top: 46px;
    margin-left: 20px;
    font-size: 28px;
    font-weight: 700;
    color: red;
    margin-bottom: 20px;
}

#menu .right p:nth-child(2) {
    height: 34px;
    font-size: 18px;
    line-height: 34px;
    padding-left: 10px;
    color: rgb(186, 0, 0);
    background-image: url(../static/img/边框1.png);
    background-repeat: no-repeat;
}

/* 小编精选 */
#chooise{
    height: 50px;
    width: 100%;
    background: #e3f8fa;
}
#chooise span{
   margin-left: 250px;
   margin-top: 10px;
   float: left;
   display: block;
}
#chooise span:hover{
    
font-weight: bold;
}

/* 商品数据 */

#content{
    display: flex;
    flex-wrap: wrap;
    margin-left: 100px;
 
 }
 #content .each{
     margin-bottom: 30px;
     width: 250px;
     height: 400px;
     /* background:rgb(207, 203, 203); */
     margin-left: 25px;
     margin-right: 25px;
     float: left;
     background-color: rgba(240, 245, 243, 0.877);
     
 }
 #content img{
     width: 250px;
     height: 280px;
 }
 #content p{
     height: 20px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }
 #content .mid{
     margin-top: 10px;
     margin-bottom: 5px;
     display: flex;
     padding-left: 10px;
     padding-right: 10px;
     justify-content: space-between;
 }
 #content .text{
     background-color: red;
     border-radius: 3px;
     color: white;
 }
 
 #content .bottom{
     color: red;
     display: flex;
     justify-content: space-between;
     padding-left: 10px;
     padding-right: 10px;
 }
 #content .bottom .buy{
     color: black;
 }
 #content .bottom .big{
     border: 1px solid red;
 }
 /* 加载更多 */

 .more{
    text-align: center;
 }
 .more button{
    width: 200px;
    height: 50px;
    border: none;
    outline: none;
    line-height: 50px;
    text-align: center;
    border-radius: 20px;
    background-color: #efab5d;
    font-size: 20px;
 }
 .more button:hover{
    background: #c79852;
    cursor: pointer;
 }

 /* 回到顶部 */
 .goTop{
    width: 50px;
    height: 50px;
    background-color: pink;
    color: white;
    font-size: 20px;
    text-align: center;
    line-height: 25px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    display: none; 
    cursor: pointer;
}

/* 页脚 */
#footer{
    margin-top: 20px;
    background: #3e576d;
    overflow: hidden;
    display: flex;
}

#footer img{
    width: 100px;
    margin-left: 200px;
    margin-top: 30px;
    margin-bottom: 30px;
}
#footer span{
    font-size: 20px;
    color: white;
    margin-top: 60px;
}
